﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Epi.Web.Enter.Common.DTO
{
    [DataContract(Namespace = "http://www.yourcompany.com/types/")]
    public class FormLinksDTO
    {
        private string _FromId;
        private string _ToId;
        private int _SortOrder;
        private DateTime _DateOfLastContact;
        private   bool _DateIsEstimated;
        private bool _ContactTypeOpt1;
        private bool _ContactTypeOpt2;
        private bool _ContactTypeOpt3;
        private bool _ContactTypeOpt4;
        private bool _TentativeRelation  ;
        private string _RelationToSource  ;
         [DataMember]
        public string FromId
        {
            get { return _FromId; }
            set { _FromId = value; }
        }

        [DataMember]
        public string ToId
        {
            get { return _ToId; }
            set { _ToId = value; }
        }

         [DataMember]
        public int SortOrder
        {
            get { return _SortOrder; }
            set { _SortOrder = value; }
        }
         [DataMember]
         public DateTime DateOfLastContact
         {
             get { return _DateOfLastContact; }
             set { _DateOfLastContact = value; }
         }

         [DataMember]
         public bool DateIsEstimated
         {
             get { return _DateIsEstimated; }
             set { _DateIsEstimated = value; }
         }
         [DataMember]
         public bool ContactTypeOpt1
         {
             get { return _ContactTypeOpt1; }
             set { _ContactTypeOpt1 = value; }
         }
         [DataMember]
         public bool ContactTypeOpt2
         {
             get { return _ContactTypeOpt2; }
             set { _ContactTypeOpt2 = value; }
         }
         [DataMember]
         public bool ContactTypeOpt3
         {
             get { return _ContactTypeOpt3; }
             set { _ContactTypeOpt3 = value; }
         }

           [DataMember]
         public bool ContactTypeOpt4
           {
               get { return _ContactTypeOpt4; }
               set { _ContactTypeOpt4 = value; }
           }
           [DataMember]
           public bool TentativeRelation
           {
               get { return _TentativeRelation; }
               set { _TentativeRelation = value; }
           }
           [DataMember]
           public string RelationToSource
           {
               get { return _RelationToSource; }
               set { _RelationToSource = value; }
           }
    }
}
